package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学科对象 discipline
 * 
 * @author ruoyi
 * @date 2024-03-16
 */
public class Discipline extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long did;

    /** 年级表主键ID */
    @Excel(name = "年级表主键ID")
    private Long gid;

    /** 教师表主键ID */
    @Excel(name = "教师表主键ID")
    private Long tid;

    /** 学科名称 */
    @Excel(name = "学科名称")
    private String disciplineName;

    /** 必修或者选修（1.必修 2.选修） */
    @Excel(name = "必修或者选修", readConverterExp = "1=.必修,2=.选修")
    private Long disciplineStatus;

    /** 属于哪一科（1.文科 2.理科） */
    @Excel(name = "属于哪一科", readConverterExp = "1=.文科,2=.理科")
    private Long division;

    /** 是否删除（1.正常 2.已删除） */
    @Excel(name = "是否删除", readConverterExp = "1=.正常,2=.已删除")
    private Long isDelete;

    public void setDid(Long did) 
    {
        this.did = did;
    }

    public Long getDid() 
    {
        return did;
    }
    public void setGid(Long gid) 
    {
        this.gid = gid;
    }

    public Long getGid() 
    {
        return gid;
    }
    public void setTid(Long tid) 
    {
        this.tid = tid;
    }

    public Long getTid() 
    {
        return tid;
    }
    public void setDisciplineName(String disciplineName) 
    {
        this.disciplineName = disciplineName;
    }

    public String getDisciplineName() 
    {
        return disciplineName;
    }
    public void setDisciplineStatus(Long disciplineStatus) 
    {
        this.disciplineStatus = disciplineStatus;
    }

    public Long getDisciplineStatus() 
    {
        return disciplineStatus;
    }
    public void setDivision(Long division) 
    {
        this.division = division;
    }

    public Long getDivision() 
    {
        return division;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("did", getDid())
            .append("gid", getGid())
            .append("tid", getTid())
            .append("disciplineName", getDisciplineName())
            .append("disciplineStatus", getDisciplineStatus())
            .append("division", getDivision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
